package com.apeli.system.domain.vo;

import com.apeli.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.apache.poi.ss.usermodel.DateUtil;

import java.util.Date;

@Data
public class CommentVO {
    @Excel(name = "评论人")
    private String reviewer;

    @Excel(name = "创建日期",dateFormat = "YYYY/MM/dd hh:mm:ss")
    private Date createDate;

    @Excel(name = "文章标题")
    private String articleTitle;

    @Excel(name = "内容")
    private String content;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
}
